package com.agriculture.competition.domain;

import com.agriculture.common.core.annotation.Excel;
import com.agriculture.common.core.web.domain.BaseEntity;
import com.agriculture.competition.domain.vo.ExcelData;
import lombok.Data;

import java.util.List;

/**
 * 分类管理对象 ja_classify
 *
 * @author agriculture
 * @date 2024-11-14
 */
@Data
public class JaClassify extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 子类名
     */
    @Excel(name = "子类名")
    private String name;

    /**
     * 父类ID
     */
    @Excel(name = "父类ID")
    private Long parentId;

    /**
     * 父类名
     */
    @Excel(name = "父类名")
    private String parentName;

    /**
     * 顺序
     */
    @Excel(name = "顺序")
    private Long orderNum;

    /**
     * 1：数据表分类2：模型分类3：研报分类4：品种分类
     */
    @Excel(name = "1：数据表分类2：模型分类3：研报分类4：品种分类")
    private String dataType;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUser;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUser;

    /**
     * 1：生效0：失效
     */
    @Excel(name = "1：生效0：失效")
    private String status;

    /**
     * 全称
     */
    @Excel(name = "全称")
    private String displayName;

    /**
     * 级别
     */
    @Excel(name = "级别")
    private Long leval;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String describeInfo;

    private List<Long> ids;

    private List<JaClassify> childs;
    /**
     * 是否点搜索按钮的标志
     */
    private String flag;

    private String fileUrl;

    private String displayName1;


    //非数据库字段
    private String tempDir;


    //ja_date_table主键
    private Long tableId;
}
